#import <SMRColumnView/SMRColumnView.h>
#import "ALEventColumnViewController.h"


@class ALEntryTemplate;
@class SMRRatingView;
@class SMRColumnnEntry;

@interface ALChartViewController : ALEventColumnViewController <SMRChartDataSource, SMRChartDelegate, SMRGraphViewDelegate, SMRColumnViewDataSource> {
}
// Controllers
@property (nonatomic, retain) NSArrayController *entriesArrayController;
@property (nonatomic, retain) NSArrayController *entryTemplatesArrayController;

// Graph Views
@property (nonatomic, assign) IBOutlet NSView *graphsContainerView;
@property (nonatomic, retain) NSDictionary *graphViews;  // SMRGraphViews keyed by relative index to currentChart (e.g. 0 is the current chart, 1 is the next chart, -1 is previous)
@property (nonatomic, readonly) SMRGraphView *currentGraphView;

// Chart detail views
@property (nonatomic, assign) IBOutlet NSView *chartDetailView;
@property (nonatomic, assign) IBOutlet NSTextField *chartDetailCounterView;
@property (nonatomic, retain) NSView *currentChartDetailValueView;
@property (nonatomic, assign) IBOutlet NSTextField *chartDetailValueViewText;
@property (nonatomic, assign) IBOutlet SMRRatingView *chartDetailValueViewRating;
@property (assign) IBOutlet NSScrollView *chartDetailColumnScrollView;

@property (nonatomic, assign) ALAppCriteria appCriteria;
@property (nonatomic, assign) IBOutlet SMRColumnEntry *versionPrototype;

-(IBAction)testChartAction:(id)sender;

@end
